final Variables and Immutable Data
|
Create immutable data using blank final instance variables |
|
![]() |
Assign to each final exactly once, in each constructor |
![]() |
The final values can be computed by the constructor, or passed in as constructor arguments |